@media (max-width: 768px) {

    .header,
    .banner,
    .works,
    .welfare,
    .about,
    .medical,
    .infor,
    .footer {
        display: none;
    }

    .header-m,
    .banner-m,
    .works-m,
    .welfare-m,
    .about-m,
    .medical-m,
    .infor-m,
    .footer-m {
        display: block;
    }

}

@media (min-width: 768px) {

    .header,
    .banner,
    .works,
    .welfare,
    .about,
    .medical,
    .infor,
    .footer {
        display: block;
    }

    .header-m,
    .banner-m,
    .works-m,
    .welfare-m,
    .about-m,
    .medical-m,
    .infor-m,
    .footer-m {
        display: none;
    }

}
.header-m .show .show-item:nth-child(2) a{
    color: #dd1717;
}
/* 顶部的头部手机 */


/* banner */
.banner-m {
    width: 375px;
}

.banner-m img {
    width: 375px;
    height: 252px;
}

.banner {
    width: 100%;
    margin-top: 80px;
    background-color: black;
}

.banner img {
    height: 651px;
    width: 100%;
}

/* 作品展示  */
.works-m .title .ename {
    width: 300px;
    margin: 10px auto;
    margin-top: 30px;
    display: flex;
    color: #dd1717;
    font-size: 20px;
    line-height: 24px;
    justify-content: space-between;
}

.works-m .title .line {
    width: 30px;
    height: 2px;
    border-radius: 1px;
    background-color: #dd1717;
    margin-top: 10px;
}

.works-m .title .cname {
    text-align: center;
    margin-top: -5px;
    color: #8C8C8C;
}

.works-m .works-item {
    width: 337px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px auto;
    margin-top: 0;
}

.works-m .works-item img {
    width: 160px;
    height: 115px;
}

.works-m .works-item .item {
    position: relative;
    margin-top: 17px;
}

.works-m .works-item .item .zhezhao {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: .6s;
}

.act {
    opacity: 1;
}

.works-m .works-item .zhezhao {
    width: 160px;
    height: 115px;
    background-color: rgba(0, 0, 0, 0.8);
    position: relative;
    color: #dd1717;
    text-align: center;
}

.works-m .works-item .zhezhao .fangkuang {
    position: absolute;
    width: 140px;
    height: 101px;
    left: 7px;
    top: 8px;
    border: 1px solid #dd1717;
}

.works-m .works-item .zhezhao h4 {
    margin-top: 40px;
}

/* 优惠福利 */

.welfare-m .title .ename {
    width: 190px;
    margin: 10px auto;
    margin-top: 30px;
    display: flex;
    color: #dd1717;
    font-size: 20px;
    line-height: 24px;
    justify-content: space-between;
}

.welfare-m .title .line {
    width: 30px;
    height: 2px;
    border-radius: 1px;
    background-color: #dd1717;
    margin-top: 10px;
}

.welfare-m .title .cname {
    text-align: center;
    margin-top: -5px;
    color: #8C8C8C;
}

.welfare-m .imgtotal .item {
    width: 337px;
    height: 220px;
    margin: 0 auto;
    margin-top: 20px;
    position: relative;
    color: seashell;
    transition: .6s;
    border: 1px solid black;
}

.welfare-m .imgtotal .item img {
    width: 337px;
    height: 197px;
    position: absolute;
    left: 0;
    top: 0;
}

.welfare-m .imgtotal .item .sekuai {
    width: 337px;
    height: 30px;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #212121;
    line-height: 30px;
    color: #BCBCBC;
    transition: .6s;

}

.welfare-m .imgtotal .item .sekuai .title {
    float: left;
    margin-left: 10px;
}

.welfare-m .imgtotal .item .sekuai .price {
    float: left;
    margin-left: 80px;
    font-size: 10px;
}

/* 关于我们 */

.about-m {
    width: 375px;
    height: 450px;
    position: relative;
    background-image: url('http://www.bufantec.com/site/jingjie/static/img/about_us_bg.jpg');
    background-size: cover;
    padding: 1px 0 0 0;
    margin-top: 40px;
    color: white;
}

.about-m .mask {
    width: 375px;
    height: 451px;
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
}

.about-m .title,
.about-m .des {
    position: relative;
    z-index: 2;
}

.about-m .title .ename {
    width: 190px;
    margin: 10px auto;
    margin-top: 30px;
    display: flex;
    color: #dd1717;
    font-size: 20px;
    line-height: 24px;
    justify-content: space-between;
}

.about-m .title .line {
    width: 30px;
    height: 2px;
    border-radius: 1px;
    background-color: #dd1717;
    margin-top: 10px;
}

.about-m .title .cname {
    text-align: center;
    margin-top: -5px;
    color: #8C8C8C;
}

.about-m .des {
    width: 337px;
    margin: 0 auto;
    color: rgb(204, 204, 204);
}

.about-m .des .one {
    width: 337px;
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.about-m .des .one img {
    float: left;
    width: 22px;
    height: 22px;
    margin-top: 9px;
}

.about-m .des .one .text {
    width: 240px;
}

/* 约拍流程 */

.medical-m .title .ename {
    width: 300px;
    margin: 10px auto;
    margin-top: 30px;
    display: flex;
    color: #dd1717;
    font-size: 20px;
    line-height: 24px;
    justify-content: space-between;
}

.medical-m .title .line {
    width: 30px;
    height: 2px;
    border-radius: 1px;
    background-color: #dd1717;
    margin-top: 10px;
}

.medical-m .title .cname {
    text-align: center;
    margin-top: -5px;
    color: #8C8C8C;
}

.medical-m .liucheng .one {
    color: white;
    width: 171px;
    height: 230px;
    margin-top: 30px;
}

.medical-m .liucheng .one .shuidi {
    width: 55px;
    height: 75px;
    font-size: 30px;
    text-align: center;
    line-height: 55px;
    background-image: url(../img/感叹号.png);
    margin: 10px auto;
}

.medical-m .liucheng .one .fangkuang {
    width: 171px;
    height: 145px;
    text-align: center;
    line-height: 59px;
    background-image: url(../img/红底.png);
    overflow: hidden;
}

.medical-m .liucheng .one .fangkuang h2 {
    height: 28px;
    line-height: 28px;
    margin-top: 34px;
    font-size: 16px;
    color: #fff;
}

.medical-m .liucheng .one .fangkuang p {
    margin: 0 auto;
    width: 132px;
    height: 23px;
    line-height: 23px;
    font-size: 12px;
    color: #8C8C8C;
}

.medical-m {
    width: 335px;
    height: 350px;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 10px;
}

.medical-m .show {
    width: 177px;
    /* overflow: hidden; */
    margin: 30px auto;
    margin-bottom: 100px;
}


.medical-m .btn {
    width: 300px;
    margin: 20px auto;
    margin-top: -180px;
    display: flex;
    justify-content: space-between;
}

.medical-m .btn .left {
    color: white;
}

.medical-m .btn .right {
    color: rgb(255, 255, 255);
}

.medical-m .btn .acte {
    color: #DD1717;
}

.medical-m .btn i {
    color: white;
    font-size: 30px;
}

.swiper-pagination {
    bottom: 0;
}

.swiper-container .swiper-button-next {
    position: absolute;
}

.show .swiper-pagination-progressbar{
    background-color: rgb(255, 255, 255);
    width: 335px;
    top: -15px;
}
.show .swiper-pagination-progressbar{

}
.show .swiper-container {
    overflow: visible
}



/* 公司信息手机 */
.infor-m {
    width: 337px;
    margin: 20px auto;
    text-align: center;
    color: #999999;
}

.infor-m .office p {
    font-size: 18px;
    font-weight: 900;
    margin: 10px auto;
}

.infor-m .adress {
    font-size: 12px;
    line-height: 20px;
    margin: 20px auto;
}

.infor-m .tele {
    font-size: 12px;
    line-height: 20px;
    margin: 20px auto;
}

.footer-m {
    text-align: center;
    color: #999999;
    background-color: #111;
    padding: 10px 30px;
    width: 315px;
    height: 50px;
    font-size: 12px;
    line-height: 20px;
    margin: 20px auto;
    margin-bottom: 0;
}

























































body {
    background-color: #000000;
}

.header {
    width: 100%;
    height: 3px;
}

.header .nav {
    width: 100%;
    height: 77px;
}

.works {
    width: 100%;
    height: 947px;
    text-align: center;
    overflow: hidden;
}

.view {
    width: 100%;
    height: 100px;
    background-color: #dd1717;
}

.welfare {
    width: 100%;
    height: 1236px;
    text-align: center;
    overflow: hidden;
}

.about {
    width: 100%;
    height: 541px;
    overflow: hidden;
    text-align: center;
}

.medical {
    width: 100%;
    height: 561px;
    text-align: center;
    overflow: hidden;

}

.infor {
    width: 1200px;
    height: 200px;
    margin: 0 auto;
}

.footer {
    width: 100%;
    height: 80px;
    background-color: #161616;
}






/* banner和导航栏的样式 */
.header .nav .logo {
    float: left;
}

.header .nav ul {
    float: right;
}

.header .nav .item {
    float: left;
    margin-right: 36px;
    line-height: 77px;
    color: #8d8d8d;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

.header .nav .mar {
    margin-right: 50px;
}

.header .nav .text {
    color: #8d8d8d;
}

.header .nav .item .line {
    width: 41px;
    height: 2px;
    background-color: #dd1717;
    margin: 0 auto;
    margin-top: -18px;
    visibility: hidden;
}

.header .nav .red .line {
    visibility: visible;
}

.header .nav .hongse {
    color: #dd1717;
    opacity: 1;
}

.header .nav .nav-item li:hover .text {
    color: #dd1717;
    opacity: 1;
}

.header .nav .nav-item li:hover .line {
    visibility: visible;
}

.header {
    background: url(../img/黑蒙.jpg);
    background-size: 100%;
    position: relative;
}

.header .zuo {
    position: absolute;
    left: 100px;
    top: 429px;
    cursor: pointer;
}

.header .you {
    position: absolute;
    right: 100px;
    top: 429px;
    cursor: pointer;
}

.header .nav .logo img {
    width: 80px;
    margin-left: 51px;
    margin-top: 26px;
}






/* 作品展示 */
.works .title {
    width: 518px;
    margin: 0 auto;
    margin-top: 116px;
}

.works .line1 {
    width: 130px;
    height: 2px;
    background-color: #dd1717;
    float: left;
    margin-top: 16px;
}

.works .line2 {
    width: 130px;
    height: 2px;
    background-color: #dd1717;
    float: right;
    margin-top: 16px;
}

.works .ename {
    font-size: 24px;
    color: #dd1717;
}

.works .cname {
    font-size: 16px;
    color: #8c8c8c;
    margin-top: 15px;
}

.works .up {
    margin-top: 34px;
}

.works .up .up-item {
    width: 23.5%;
    /* height: 48%; */
    float: left;
    margin-right: 2%;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.works .up .up-item .zhezhao {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    left: 0;
    top: 0;
}

.works .up .up-item .zhezhao .fangkuang {
    width: 80%;
    height: 80%;
    border: 1px solid #dd1717;
    position: absolute;
    left: 10%;
    top: 10%;
}

.works .up .zhezhao h4 {
    width: 100%;
    font-size: 14px;
    color: #dd1717;
    margin-top: 30%;
    line-height: 30px;
}

.works .up .zhezhao p {
    font-size: 12px;
    color: #fffefe;
    margin-bottom: 50%;
    line-height: 30px;
}

.works .up .up-item img {
    width: 100%;
    height: 100%;
}

.works .up .mar {
    margin-right: 0;
}

.works .up .zhezhao {
    opacity: 0;
    transition: .6s;
}

.works .up .up-item:hover .zhezhao {
    /* visibility: visible; */
    opacity: 1;
}






/* viewmore的红色块儿 */
.view {
    width: 100%;
    color: #ffffff;
    font-size: 18px;
    line-height: 100px;
    text-align: center;
}






/* 优惠福利*/

.welfare .title {
    width: 518px;
    margin: 0 auto;
    margin-top: 116px;
}

.welfare .line1 {
    width: 130px;
    height: 2px;
    background-color: #dd1717;
    float: left;
    margin-top: 16px;
}

.welfare .line2 {
    width: 130px;
    height: 2px;
    background-color: #dd1717;
    float: right;
    margin-top: 16px;
}

.welfare .ename {
    font-size: 24px;
    color: #dd1717;
}

.welfare .cname {
    font-size: 16px;
    color: #8c8c8c;
    margin-top: 15px;
}

.welfare .tuji {
    width: 1200px;
    margin: 0 auto;
    margin-top: 80px;
}

.welfare .tuji .one {
    width: 516px;
    height: 302px;
    background: url(../img/国庆优惠图.png) no-repeat center;
    float: left;
}

.welfare .tuji .two {
    width: 516px;
    height: 302px;
    background: url(../img/情侣图.jpg) no-repeat center;
    float: right;
    margin-top: 180px;
}

.welfare .tuji .three {
    width: 516px;
    height: 302px;
    background: url(../img/闺蜜套餐图.png) no-repeat center;
    float: left;
    margin-top: 80px;
}

.welfare .tuji .four {
    width: 516px;
    height: 302px;
    background: url(../img/红框.png) no-repeat center;
    float: right;
    margin-top: 80px;
}

.welfare .tuji .sekuai {
    width: 516px;
    height: 50px;
    margin-top: 252px;
    background-color: #212121;
    position: relative;
    transition: .8s;
}








.welfare .tuji .title {
    width: 56px;
    height: 50px;
    color: #ffffff;
    opacity: 0.4;
    font-size: 14px;
    float: left;
    position: absolute;
    left: 20px;
    top: -100px;
}

.welfare .tuji .price {
    color: #ffffff;
    opacity: 0.6;
    font-size: 18px;
    line-height: 50px;
    font-weight: 600;
    text-align: center;
}

.welfare .four .sekuai {
    background-color: #dd1717;
}

.welfare .four .sekuai .title {
    color: white;
    opacity: 1;
}

.welfare .four .sekuai .price {
    color: white;
    opacity: 1;
}

.welfare .shuxian {
    width: 2px;
    height: 808px;
    margin: 0 auto;
    background-color: #fff;
    opacity: 0.1;
    margin-top: -900px;
}

.welfare .diyi {
    width: 6px;
    height: 6px;
    border-radius: 7px;
    margin: 0 auto;
    border: 2px solid #666666;
    margin-top: -700px;
}

.welfare .dier {
    width: 6px;
    height: 6px;
    border-radius: 7px;
    margin: 0 auto;
    border: 2px solid #666666;
    margin-top: 200px;
}

.welfare .disan {
    width: 6px;
    height: 6px;
    border-radius: 7px;
    margin: 0 auto;
    border: 2px solid #666666;
    margin-top: 200px;
}

.welfare .disi {
    width: 6px;
    height: 6px;
    border-radius: 7px;
    margin: 0 auto;
    border: 2px solid #dd1717;
    margin-top: 200px;
}



.welfare .tuji .one:hover .sekuai {
    background-color: #dd1717;
}

.welfare .tuji .one:hover {
    box-sizing: border-box;
    border: 1px solid #dd1717;
}

.welfare .tuji .one:hover .title {
    color: white;
    opacity: 1;
}

.welfare .tuji .one:hover .price {
    color: white;
    opacity: 1;
}



.welfare .tuji .two:hover .sekuai {
    background-color: #dd1717;
}

.welfare .tuji .two:hover {
    box-sizing: border-box;
    border: 1px solid #dd1717;
}

.welfare .tuji .two:hover .title {
    color: white;
    opacity: 1;
}

.welfare .tuji .two:hover .price {
    color: white;
    opacity: 1;
}

.welfare .tuji .three:hover .sekuai {
    background-color: #dd1717;
}

.welfare .tuji .three:hover {
    box-sizing: border-box;
    border: 1px solid #dd1717;
}

.welfare .tuji .three:hover .title {
    color: white;
    opacity: 1;
}

.welfare .tuji .three:hover .price {
    color: white;
    opacity: 1;
}













/* 关于我们 */
.about {
    background: url(../img/黑蒙2.jpg) no-repeat center;
    background-size: cover;
}

.about .title {
    width: 518px;
    margin: 0 auto;
    margin-top: 66px;

}

.about .line1 {
    width: 130px;
    height: 2px;
    background-color: #dd1717;
    float: left;
    margin-top: 16px;
}

.about .line2 {
    width: 130px;
    height: 2px;
    background-color: #dd1717;
    float: right;
    margin-top: 16px;
}

.about .logo {
    margin: 0 auto;
    margin-top: 40px;
}

.about .des {
    width: 1200px;
    height: 200px;
    margin: 0 auto;
    margin-top: 50px;
}

.about .des .one {
    width: 210px;
    height: 200px;
    float: left;
    margin-right: 120px;
    /* background-color: #fff; */
}

.about .des .four {
    width: 210px;
    height: 200px;
    float: left;
    /* margin-right: 120px; */
}

.about .des img {
    margin: 0 auto;
    /* margin-left: 20px; */
    margin-top: 30px;

}

.about .des .text {
    margin-top: 30px;
    /* text-align:center; */
    font-size: 16px;
    color: #ffffff;
    line-height: 24px;
    text-align: left;
}

/* 约拍流程 */

















/* 约拍流程 */


.medical .title {
    width: 518px;
    margin: 0 auto;
    margin-top: 66px;
}

.medical .line1 {
    width: 130px;
    height: 2px;
    background-color: #dd1717;
    float: left;
    margin-top: 16px;
}

.medical .line2 {
    width: 130px;
    height: 2px;
    background-color: #dd1717;
    float: right;
    margin-top: 16px;
}

.medical .liucheng {
    width: 974px;
    height: 230px;
    margin: 0 auto;
    margin-top: 100px;
}

.medical .liucheng .one {
    height: 230px;
    width: 171px;
    float: left;
    margin-right: 22.25px;
}

.medical .medical .liucheng .two {
    height: 230px;
    width: 171px;
    float: left;
    margin-right: 0;

}

.medical .liucheng .one .shuidi {
    width: 55px;
    height: 59px;
    background: url(../img/4.png) no-repeat center;
    margin: 0 auto;
    margin-bottom: 26px;
    text-align: center;
    transition: .6s;

}

.medical .liucheng .one .fangkuang {
    width: 171px;
    height: 145px;
    background: url(../img/白底4.png) no-repeat center;
    overflow: hidden;
    transition: .6s;
}

.medical .liucheng .one .shuidi p {
    line-height: 48px;
    text-align: center;
    color: #dd1717;
    font-size: 30px;
    font-weight: bold;
}

.medical .liucheng .one .fangkuang h2 {
    color: #fff;
    font-size: 16px;
    margin-top: 36px;
}

.medical .liucheng .one .fangkuang p {
    margin-top: 20px;
    color: #8c8c8c;
    font-size: 12px;
    line-height: 16px;
    transition: .6s;

}

.medical .liucheng .three .shuidi {
    width: 55px;
    height: 75px;
    background: url(../img/感叹号.png);
    margin: 0 auto;
    transition: .6s;
}

.medical .liucheng .three .fangkuang {
    width: 171px;
    height: 145px;
    background: url(../img/红底.png);
    margin-top: 12px;
    transition: .6s;

}

.medical .liucheng .three .shuidi p {
    color: #fff;
}



.medical .liucheng .fangkuang:hover {
    background: url(../img/红底.png);
}


.medical .liucheng .one:hover .shuidi p {
    color: #fff;
}

.medical .liucheng .one:hover .shuidi {
    width: 55px;
    height: 75px;
    background: url(../img/感叹号.png);
    margin-bottom: 10px;
}













/* 公司信息 */
.infor {
    position: relative;
}

.infor .office {
    width: 176px;
    /* height: 86px; */
    float: left;
    /* background-color: #fff; */
    margin-right: 305.5px;
    line-height: 36px;
    letter-spacing: 0px;
    color: #8c8c8c;
    font-size: 14px;
    margin-top: 63.7px;
    text-align: center;
}

.infor .adress {
    width: 233px;
    /* height: 86px; */
    float: left;
    /* background-color: #fff; */
    margin-right: 305.5px;
    line-height: 36px;
    letter-spacing: 0px;
    color: #8c8c8c;
    font-size: 14px;
    margin-top: 46px;
}

.infor .tele {
    width: 180px;
    /* height: 86px; */
    float: left;
    /* background-color: #fff; */
    line-height: 36px;
    letter-spacing: 0px;
    color: #8c8c8c;
    font-size: 14px;
    margin-top: 46px;
}

.infor .line1 {
    position: absolute;
    top: 45px;
    left: 300px;
    width: 2px;
    height: 110px;
    background-color: #8c8c8c;
    opacity: 0.1;
}

.infor .line2 {
    position: absolute;
    top: 45px;
    left: 850px;
    width: 2px;
    height: 110px;
    background-color: #8c8c8c;
    opacity: 0.1;
}

















/* 底部的 */
.footer {
    font-size: 12px;
    color: #ffffff;
    opacity: 0.5;
    line-height: 80px;
    text-align: center;
    letter-spacing: 1px;
}